package Java继承;

public class Student extends Person {
    private double score;

    public Student(String id, String name, double score) {
        super(id, name);
        this.score = score;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}